package org.jeecg.modules.lab.exam.exam.vo;

import java.util.List;
import lombok.Data;
import org.jeecg.modules.lab.exam.entity.LabExamDepart;
import org.jeecg.modules.lab.exam.entity.LabExamRepo;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 考试信息主表
 * @Author: jeecg-boot
 * @Date:   2023-08-26
 * @Version: V1.0
 */
@Data
@ApiModel(value="lab_examPage对象", description="考试信息主表")
public class LabExamPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**考试名称*/
	@Excel(name = "考试名称", width = 15)
	@ApiModelProperty(value = "考试名称")
    private String name;
	/**1公开2部门3定员*/
	@Excel(name = "1公开2部门3定员", width = 15)
	@ApiModelProperty(value = "1公开2部门3定员")
    private String openType;
	/**考试状态*/
	@Excel(name = "考试状态", width = 15)
	@ApiModelProperty(value = "考试状态")
    private String status;
	/**是否限时*/
	@Excel(name = "是否限时", width = 15)
	@ApiModelProperty(value = "是否限时")
    private String timeLimit;
	/**开始时间*/
	@Excel(name = "开始时间", width = 20, format = "yyyy-MM-dd HH:mm")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
	@ApiModelProperty(value = "开始时间")
    private Date startTime;
	/**结束时间*/
	@Excel(name = "结束时间", width = 20, format = "yyyy-MM-dd HH:mm")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
	@ApiModelProperty(value = "结束时间")
    private Date endTime;
	/**总分数*/
	@Excel(name = "总分数", width = 15)
	@ApiModelProperty(value = "总分数")
    private Integer totalScore;
	/**总时长（分钟）*/
	@Excel(name = "总时长（分钟）", width = 15)
	@ApiModelProperty(value = "总时长（分钟）")
    private Integer totalTime;
	/**及格分数*/
	@Excel(name = "及格分数", width = 15)
	@ApiModelProperty(value = "及格分数")
    private Integer passScore;
	/**考试人员*/
	@Excel(name = "考试人员", width = 15)
	@ApiModelProperty(value = "考试人员")
    private String examPerson;
	/**考试部门*/
	@Excel(name = "考试部门", width = 15)
	@ApiModelProperty(value = "考试部门")
	private String examDepart;
	
	@ExcelCollection(name="考试人员/部门表")
	@ApiModelProperty(value = "考试人员/部门表")
	private List<LabExamDepart> labExamDepartList;
	@ExcelCollection(name="考试题库")
	@ApiModelProperty(value = "考试题库")
	private List<LabExamRepo> labExamRepoList;
	
}
